package cn.edu.seu.ssny.dao;

import cn.edu.seu.ssny.dao.support.IBaseDao;
import cn.edu.seu.ssny.entity.Enterprise;
import cn.edu.seu.ssny.entity.Project;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IProjectDao extends IBaseDao<Project, Integer> {
    Project findByName(String name);

    Project findByIdentification(String identification);

    List<Project> findAllByEnterprise(Enterprise enterprise);
}
